package com.iplant.basic.service.po.bfc;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.iplant.base.po.BasePO;
import com.iplant.base.po.enums.DBSchemas;
import com.iplant.base.utils.annotation.condition.DBCondition;
import com.iplant.base.utils.annotation.field.DBField;
import com.iplant.base.utils.annotation.po.DBBasePO;

import java.io.Serializable;

/**
 * 系统参数
 *
 * @author YouWang·Peng
 * 2023-12-27 13:33:46
 */
@DBBasePO(TableName = "bfc_system_config", CheckName = {"Name,Type"}, Code = false, Active = false,
        Schemas = DBSchemas.Basic)
public class BFCSystemConfig extends BasePO implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    @DBCondition(CompareType = DBCondition.DBCompareType.like)
    @DBField
    public String Value;

    @DBCondition
    @DBField
    public int Type;

    @JsonProperty("Value")
    public String getValue() {
        return Value;
    }

    public void setValue(String value) {
        Value = value;
    }

    @JsonProperty("Type")
    public int getType() {
        return Type;
    }

    public void setType(int type) {
        Type = type;
    }
}
